From 43c2591a1a68f41bd3b3e9e4d88bf4cd019f8205 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Sat, 11 Jan 2025 16:37:16 +0100 Subject: [PATCH] bootstrap: don't attempt to download rustc in tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit the tests use a default config, so we need to manually override this option.. Signed-off-by: Fabian Grünbichler Gbp-Pq: Topic build Gbp-Pq: Name bootstrap-don-t-attempt-to-download-rustc-in-tests.patch --- src/bootstrap/src/core/config/config.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs index 4b7ae6df36..af45754d19 100644 --- a/src/bootstrap/src/core/config/config.rs +++ b/src/bootstrap/src/core/config/config.rs @@ -561,7 +561,7 @@ impl Config { new_symbol_mangling: rust_new_symbol_mangling, profile_generate: rust_profile_generate, profile_use: rust_profile_use, - download_rustc: rust_download_rustc, + download_rustc: mut rust_download_rustc, lto: rust_lto, validate_mir_opts: rust_validate_mir_opts, frame_pointers: rust_frame_pointers, @@ -699,6 +699,7 @@ impl Config { ); build_rustc = Some(stage0_rustc); } + rust_download_rustc = Some(StringOrBool::Bool(false)); } if !flags_skip_stage0_validation { -- 2.30.2